package com.ruoyi.classscoreonmonth.service.impl;

import com.ruoyi.classscoreonmonth.domain.ReportPolo;
import com.ruoyi.classscoreonmonth.mapper.ClassReportMapper;
import com.ruoyi.classscoreonmonth.service.IsClassReportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 尹欣雨
 * @verdion 520
 * 00:16
 */
@Service
public class ClassReportImpl implements IsClassReportService {
    @Autowired
    private ClassReportMapper classReportMapper;

    @Override
    public ReportPolo selectReadPortListByType(String type) {
        return classReportMapper.selectReadPortListByType(type);
    }

    @Override
    public List<ReportPolo> getAllList() {
        return classReportMapper.selectAllList();
    }

    @Override
    public Long updateNotice(ReportPolo reportPolo) {
        return  classReportMapper.updateNotice(reportPolo);
    }

}
